package com.busi.framework.base;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public class HttpSessionTread {
	private static ThreadLocal tread = new ThreadLocal() {
		 protected synchronized Object initialValue() {
			return new HttpSessionTread();
		}
	};
	
	public static HttpSessionTread get() {
		return (HttpSessionTread) tread.get();
	}
	
	private HttpServletRequest httpServletRequest;
	private String loginUserName;
	public String getLoginUserName() {
		return loginUserName;
	}

	public void setLoginUserName(String loginUserName) {
		this.loginUserName = loginUserName;
	}

	public HttpServletRequest getHttpServletRequest() {
		return httpServletRequest;
	}

	public void setHttpServletRequest(HttpServletRequest httpServletRequest) {
		this.httpServletRequest = httpServletRequest;
	}



}
